package com.sxjh.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 结算列表
 * </p>
 *
 * @author zixin
 * @since 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cb_settlement")
@ApiModel(value="Settlement对象", description="结算列表")
public class Settlement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "合同号")
    @TableField("contract_number")
    private String contractNumber;

    @ApiModelProperty(value = "车数")
    @TableField("veh_count")
    private Integer vehCount;

    @ApiModelProperty(value = "净重（实收）")
    @TableField("weighbridge_weight")
    private BigDecimal weighbridgeWeight;

    @ApiModelProperty(value = "结算数量")
    @TableField("statement_quantity")
    private BigDecimal statementQuantity;

    @ApiModelProperty(value = "结算价格")
    @TableField("statement_price")
    private BigDecimal statementPrice;

    @ApiModelProperty(value = "异议扣价")
    @TableField("objection_discount")
    private BigDecimal objectionDiscount;

    @ApiModelProperty(value = "水分")
    @TableField("water")
    private BigDecimal water;

    @ApiModelProperty(value = "灰分")
    @TableField("ash")
    private BigDecimal ash;

    @ApiModelProperty(value = "硫分")
    @TableField("sulfur")
    private BigDecimal sulfur;

    @ApiModelProperty(value = "挥发分")
    @TableField("volatilize")
    private BigDecimal volatilize;

    @ApiModelProperty(value = "M40")
    @TableField("m40")
    private BigDecimal m40;

    @ApiModelProperty(value = "M10")
    @TableField("m10")
    private BigDecimal m10;

    @ApiModelProperty(value = "CSR")
    @TableField("csr")
    private BigDecimal csr;

    @ApiModelProperty(value = "CRI")
    @TableField("cri")
    private BigDecimal cri;

    @ApiModelProperty(value = "焦沫含量")
    @TableField("foam")
    private BigDecimal foam;

    @ApiModelProperty(value = "发货时间")
    @TableField("deliver_time")
    private LocalDate deliverTime;

    @ApiModelProperty(value = "乐观锁")
    @TableField("revision")
    private Integer revision;

    @ApiModelProperty(value = "创建人")
    @TableField("created_by")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新人")
    @TableField("updated_by")
    private Integer updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updated_at", fill = FieldFill.UPDATE)
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除人")
    @TableField("deleted_by")
    private Integer deletedBy;

    @ApiModelProperty(value = "删除时间")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;


}
